#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <assert.h>
int my_strlen(const char* arr)
{
	assert(arr);
	int count = 0;
	while (*arr++ != '\0')
	{
		count++;
	}
	return count;
}
int main()
{
	char arr[] = "hello world";
	int ret = my_strlen(arr);
	printf("%d\n", ret);
}